package com.snail.starter.kafka;

import com.snail.starter.kafka.producer.KafkaProducer;
import com.snail.starter.mq.annotation.EnableMQ;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author: snail framework
 * @Date: 2023/1/31 下午4:01
 * @Version: 1.0.0
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@EnableMQ
@Import({KafkaApplicationContext.class, KafkaController.class, KafkaProducer.class})
public @interface EnableKafka {

}